import { getSession } from "@/lib/session";
import { Role } from "@/lib/type";
import { redirect } from "next/navigation";
import React from "react";
import { getProfile } from "@/lib/actions"
const Profile = async () => {
  const res = await getProfile()


  return <div>
    <h1>profile</h1>
    <p>{JSON.stringify(res)}</p>
  </div>;
};

export default Profile;